package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("排行榜单条实体")
@Data
public class BaseRankVO implements Serializable {

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像")
    private String avatarurl;

    @ApiModelProperty("vip等级")
    private Integer vipGrade;

    @ApiModelProperty("排名")
    private Integer rank;

    @ApiModelProperty("排行榜数值")
    @NumberAutoConvert
    private String value;

    @ApiModelProperty("奖励")
    @NumberAutoConvert
    private Integer prize;

}
